import os

from django.test import TestCase

# Create your tests here.
str = '本科毕业证学历.jpg'

print(os.path.splitext(str)[-1])